import operate from '@/constants/monitor'

export default {
  activeAddMembers () {
    return {
      type: operate.LOG_TYPE.operate,
      operateType: operate.OPERATE_TYPE.add,
      content: '点击了添加团队成员'
    }
  },
  clickView () {
    return {
      type: operate.LOG_TYPE.operate,
      operateType: operate.OPERATE_TYPE.query,
      content: '点击了查看团队成员'
    }
  },
  clickRemove () {
    return {
      type: operate.LOG_TYPE.operate,
      operateType: operate.OPERATE_TYPE.del,
      content: '点击了删除团队成员'
    }
  },
  activeAddCenter () {
    return {
      type: operate.LOG_TYPE.operate,
      operateType: operate.OPERATE_TYPE.add,
      content: '点击了添加研究中心管理'
    }
  },
  clickEdit () {
    return {
      type: operate.LOG_TYPE.operate,
      operateType: operate.OPERATE_TYPE.upData,
      content: '点击了编辑研究中心管理'
    }
  },
  clickDelete () {
    return {
      type: operate.LOG_TYPE.operate,
      operateType: operate.OPERATE_TYPE.del,
      content: '点击了删除研究中心管理'
    }
  }
}
